package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 拼多多商品列对象 tl_pdd_goods
 *
 * @author lhs
 * @date 2023-11-07
 */
public class TlPddGoodsVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 商品编码 */
    @Excel(name = "商品编码")
    private Long goodsId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品总数量 */
    @Excel(name = "商品总数量")
    private Long goodsQuantity;

    /** 商品预扣库存 */
    @Excel(name = "商品预扣库存")
    private Long goodsReserveQuantity;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String imageUrl;

    /** 是否多sku，0-单sku，1-多sku */
    @Excel(name = "是否多sku，0-单sku，1-多sku")
    private Long isMoreSku;

    /** 是否在架上，0-下架中，1-架上 */
    @Excel(name = "是否在架上，0-下架中，1-架上")
    private Long isOnsale;

    /** 商品缩略图 */
    @Excel(name = "商品缩略图")
    private String thumbUrl;

    /**商品创建时间*/
    @Excel(name = "商品创建时间")
    private String createdAt;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long ownerId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String ownerName;

    /** 系统登录用户id */
    @Excel(name = "系统登录用户id")
    private Long userId;

    /** 外部编码 */
    private String outerGoodsId;

    /** 下架原因 */
    private String reason;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId()
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName)
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName()
    {
        return goodsName;
    }
    public void setGoodsQuantity(Long goodsQuantity)
    {
        this.goodsQuantity = goodsQuantity;
    }

    public Long getGoodsQuantity()
    {
        return goodsQuantity;
    }
    public void setGoodsReserveQuantity(Long goodsReserveQuantity)
    {
        this.goodsReserveQuantity = goodsReserveQuantity;
    }

    public Long getGoodsReserveQuantity()
    {
        return goodsReserveQuantity;
    }
    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }
    public void setIsMoreSku(Long isMoreSku)
    {
        this.isMoreSku = isMoreSku;
    }

    public Long getIsMoreSku()
    {
        return isMoreSku;
    }
    public void setIsOnsale(Long isOnsale)
    {
        this.isOnsale = isOnsale;
    }

    public Long getIsOnsale()
    {
        return isOnsale;
    }
    public void setThumbUrl(String thumbUrl)
    {
        this.thumbUrl = thumbUrl;
    }

    public String getThumbUrl()
    {
        return thumbUrl;
    }
    public void setOwnerId(Long ownerId)
    {
        this.ownerId = ownerId;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public Long getOwnerId()
    {
        return ownerId;
    }
    public void setOwnerName(String ownerName)
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName()
    {
        return ownerName;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public String getOuterGoodsId() {
        return outerGoodsId;
    }

    public void setOuterGoodsId(String outerGoodsId) {
        this.outerGoodsId = outerGoodsId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("goodsId", getGoodsId())
                .append("goodsName", getGoodsName())
                .append("goodsQuantity", getGoodsQuantity())
                .append("goodsReserveQuantity", getGoodsReserveQuantity())
                .append("imageUrl", getImageUrl())
                .append("isMoreSku", getIsMoreSku())
                .append("isOnsale", getIsOnsale())
                .append("thumbUrl", getThumbUrl())
                .append("createTime", getCreateTime())
                .append("ownerId", getOwnerId())
                .append("ownerName", getOwnerName())
                .append("userId", getUserId())
                .toString();
    }
}
